/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dsproject;

import java.io.FileNotFoundException;
import java.io.IOException;

/**
 *
 * @author Benoit
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws FileNotFoundException, IOException, ClassNotFoundException
    {
        Report report1, report2;

        // Network with 1000x1000 dimension, with 102 wifi range, and X Nodes
        Network net = new Network(1000, 1000, 102, 20);

        //Simulator with loops, Requests, using the network net
        Simulator sim = new Simulator(100, 500, net, "test2", true);
        //*/
        report1 = sim.process(Simulator.TYPE.CACHEv2);
        report2 = sim.process(Simulator.TYPE.CLASSIC);
        
        System.out.println(report1.toString());
        System.out.println(report2.toString());
        System.out.println(report1.compare(report2));

    }

}
